export const USERS_ENDPOINT = '/wp/v2/users' export interface User { readonly id: number username?: string name: string first_name?: string last_name?: string email?: string url: string description: string readonly link: string locale?: string nickname?: string slug: string registered_date?: string roles?: string[] readonly capabilities?: Record readonly extra_capabilities?: Record readonly avatar_urls: Record meta: Record } export type Users = User[]